#ifndef __EXPORT_H__
#define __EXPORT_H__

#include <stdio.h>
#include "cmdBuffer_t.h"
#include <memory.h>
#include "methodCollection_t.h"

#ifdef __cplusplus
extern "C" {
#endif

struct paramPrint
{
	FILE* file;
	const char* format;
};

void CALLBACK write_function(cmd_t* cmd, void* user);
void export_cb(cmdBuffer_t* cB);
void export_define_block_size(int size);
void export_change_file(char* name);
void export_init(char* name, methodCollection_t* gl);
void export_init_file(char* name);
void export_close_file();
void export_close();
int findIndex(void* pFunc);

#ifdef __cplusplus
}
#endif

#endif /* __EXPORT_H__ */